package com.team1.system.libraryident.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.team1.system.libraryident.mapper.LibraryIdentMapper;
import com.team1.system.libraryident.domain.LibraryIdent;
import com.team1.system.libraryident.service.ILibraryIdentService;

/**
 * 认证管理Service业务层处理
 * 
 * @author hyy
 * @date 2023-04-09
 */
@Service
public class LibraryIdentServiceImpl implements ILibraryIdentService 
{
    @Autowired
    private LibraryIdentMapper libraryIdentMapper;

    /**
     * 查询认证管理
     * 
     * @param identId 认证管理主键
     * @return 认证管理
     */
    @Override
    public LibraryIdent selectLibraryIdentByIdentId(Long identId)
    {
        return libraryIdentMapper.selectLibraryIdentByIdentId(identId);
    }

    /**
     * 查询认证管理列表
     * 
     * @param libraryIdent 认证管理
     * @return 认证管理
     */
    @Override
    public List<LibraryIdent> selectLibraryIdentList(LibraryIdent libraryIdent)
    {
        return libraryIdentMapper.selectLibraryIdentList(libraryIdent);
    }

    /**
     * 新增认证管理
     * 
     * @param libraryIdent 认证管理
     * @return 结果
     */
    @Override
    public int insertLibraryIdent(LibraryIdent libraryIdent)
    {
        return libraryIdentMapper.insertLibraryIdent(libraryIdent);
    }

    /**
     * 修改认证管理
     * 
     * @param libraryIdent 认证管理
     * @return 结果
     */
    @Override
    public int updateLibraryIdent(LibraryIdent libraryIdent)
    {
        return libraryIdentMapper.updateLibraryIdent(libraryIdent);
    }

    /**
     * 批量删除认证管理
     * 
     * @param identIds 需要删除的认证管理主键
     * @return 结果
     */
    @Override
    public int deleteLibraryIdentByIdentIds(Long[] identIds)
    {
        return libraryIdentMapper.deleteLibraryIdentByIdentIds(identIds);
    }

    /**
     * 删除认证管理信息
     * 
     * @param identId 认证管理主键
     * @return 结果
     */
    @Override
    public int deleteLibraryIdentByIdentId(Long identId)
    {
        return libraryIdentMapper.deleteLibraryIdentByIdentId(identId);
    }
}
